home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / boot / netBoot / sun3src / romvec.s < prev    next >
Encoding:
Text File  |  1988-05-13  |  3.6 KB  |  88 lines

  1.  
  2. |
  3. |    @(#)romvec.s 1.1 86/09/27
  4. |    Copyright (c) 1986 by Sun Microsystems, Inc.
  5. |
  6. |    Vector Table for the Sun Rom Monitor
  7. |
  8. |    This is the first thing in the PROM.  It provides the RESET
  9. |    vector which starts everything on power-up, as well as assorted
  10. |    information about where to find things in the ROMs and in low
  11. |    memory.
  12. |
  13. | ==>    WHEN ADDING FIELDS PLEASE INCREMENT THE VERSION NUMBER!!!
  14. |
  15. |    to make life easier for people who have to write programs
  16. |    that work whether or not the new field is there.
  17. |
  18. |     @(#)romvec.s 1.20 85/04/24 Copyright (c) 1985 by Sun Microsystems, Inc.
  19. |
  20.  
  21. #include "../sun3/assym.h"
  22. #include "../h/fbio.h"
  23.  
  24.  .long    INITSP        | Initial SSP for hardware RESET
  25.  .long    _hardreset    | Initial PC  for hardware RESET
  26.  .long    _diag_berr    | Bus error handler for diagnostics
  27.  .long    bootaddr    | Addr of addr of boot parameters
  28.  .long    g_memorysize    | Physical onboard memory size
  29.  .long    _getchar    | Get char from cur input source
  30.  .long    _putchar    | Put char to current output sink
  31.  .long    _mayget        | Maybe get char from current input source
  32.  .long    _mayput        | Maybe put char to current output sink
  33.  .long    g_echo        | Should getchar echo its input?
  34.  .long    g_insource    | Input source selector
  35.  .long    g_outsink    | Output sink selector
  36.  .long    _getkey        | Get next translated key if one exists
  37.  .long    _initgetkey    | Initialize before first getkey
  38.  .long    g_translation    | Up/down keyboard translation selector
  39.  .long    g_keybid    | Up/down keyboard ID byte
  40.  .long    g_ax        | V2: R/O value of current X posn on screen
  41.  .long    g_ay        | V2: R/O value of current Y posn on screen
  42.  .long    g_keybuf    | Up/down keycode buffer
  43.  .long    _monrev        | New location of monitor revision information
  44.  .long    _fwritechar    | Write a character to FB "terminal"
  45.  .long    fbaddr        | Address of frame buffer
  46.  .long    g_font        | Address of current font definition
  47.  .long    _fwritestr    | Write a string to FB terminal - faster
  48.  .long     _boot_me    | Boot with the specified parameter (like "b" command.)
  49.  .long    g_linebuf    | The line input buffer
  50.  .long    g_lineptr    | Current pointer into g_linebuf
  51.  .long    g_linesize    | Total length of line in g_linebuf
  52.  .long    _getline    | Fill g_linebuf from current input source
  53.  .long    _getone        | Get next char from g_linebuf
  54.  .long    _peekchar    | Peek at next char without reading it
  55.  .long    g_fbthere    | Is frame buffer physically there?
  56.  .long    _getnum        | Get next numerics and xlate to binary
  57.  .long    _printf        | Print a null-terminated string
  58.  .long    _printhex    | Print N digits of a longword in hex
  59.  .long    g_leds        | RAM copy of LED register value
  60.  .long    _set_leds    | Sets LED register and RAM copy to argument value
  61.  .long    _nmi        | Address that oughta be in level 7 vector
  62.  .long    _abortent    | Monitor entry point from keyboard abort
  63.  .long    g_nmiclock    | Refresh routines's millisecond count
  64.  .long    g_fbtype    | Which type of frame buffer do we have at runtime?
  65.  .long    2        | Version number of sunromvec.
  66.  .long    gp        | Pointer to global data structure
  67.  .long    g_keybzscc    | Pointer to current keyboard's zscc
  68.  .long    g_keyrinit    | ms to wait before repeating a held key
  69.  .long    g_keyrtick    | ms to wait between repetitions ditto
  70.  .long    g_memoryavail    | WAS: ptr to table of strings gen'd by keyboard
  71.  .long    g_resetaddr    | vector address for watchdog resets
  72.  .long    g_resetmap    | page map entry for watchdog resets
  73.  .long    _exit_to_mon    | Exit-to-monitor entry point
  74.  .long    g_memorybitmap    | Ptr to Ptr to memory bit map or 0
  75.  .long    _setcxsegmap    | Routine to set seg in any context.
  76.  .long    g_vector_cmd    | V2: Handler for 'v' and low 'g' commands
  77.  .long    0        | dummy1z
  78.  .long    0        | dummy2z
  79.  .long    0        | dummy3z
  80.  .long    0        | dummy4z
  81.  
  82. |
  83. | Indirect pointer to boot parameters, for historical reasons
  84. |
  85. bootaddr:
  86.  .long    g_bootparam    | Temporary home of boot parameters
  87.  
  88.